<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Zemail - <sitemesh:write property='title'/></title>
		<c:set var="url">${pageContext.request.requestURL}</c:set>
   		<base href="${fn:substring(url, 0, fn:length(url) - fn:length(pageContext.request.requestURI))}${pageContext.request.contextPath}/" />
		<link type="text/css" href="resources/css/redmond/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
		<link type="text/css" href="resources/css/styles.css" rel="stylesheet" />
		<script src="resources/js/jquery-1.7.2.min.js"></script>
		<script src="resources/js/jquery-ui-1.8.20.custom.min.js"></script>
		<script src="resources/js/jquery.jqdock.min.js"></script>
		<script src="resources/js/decorators/main_decorator.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				loadPrincipalMenu();
				resizePageContents();
				loadProcessingIcon();
				$(window).resize(function() { resizePageContents(); });
			});
		</script>
		<sitemesh:write property='head'/>
	</head>
	<body>
		<div id="mainContainerFixed">
			<div id="headerContainer" class="containerCenter">
				<div id="header" class="center">
					<a href="home"><img src="http://d2o0t5hpnwv4c1.cloudfront.net/358_jquery/example%20files/images/stacks/photoshop.png" title="Home" alt=""></a>
					<a href="server"><img src="http://d2o0t5hpnwv4c1.cloudfront.net/358_jquery/example%20files/images/stacks/safari.png" title="Mail" alt=""></a>
					<a href="config"><img src="http://d2o0t5hpnwv4c1.cloudfront.net/358_jquery/example%20files/images/stacks/coda.png" title="Config" alt=""></a>
				</div>
			</div>
			
			<div id="bodyContainer" class="containerCenter">
				<div id="body" class="center">
		      		<sitemesh:write property='body'/>
		      	</div>
		    </div>
		</div>
	    
	    <div id="footerContainerFixed">
			<div id="footerContainer" class="containerCenter">
		    	<div id="footer">Footer</div>
		    </div>
		</div>
	</body>
</html>